// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

fn main() {
    if let Err(e) = work_secretary_lib::sqlite_init::init_db() {
        eprintln!("数据库初始化失败: {}", e);
        return;
    }
    println!("--------------------------------------------");
    work_secretary_lib::run()
}
